package org.hejw.rpc.regist;

/**
 * 向注册中心注册服务
 */
public interface ServiceRegister {

    void register(ServiceObject so, String protocol, int port) throws Exception;

    ServiceObject getServiceObject(String name) throws Exception;

}
